<!DOCUMENT>
<html>
	<head>
		<title>comet chat demo</title>
		<script type="text/javascript" src="chat.js"></script>
		<style type="text/css">
		@import "chat.css";	
		</style>
	</head>
	<body>
		<div id="msgs">
			
		</div>
		<form action="chat.php" method="get" onsubmit="return send();">
			<label>user: <input type="text" id="user" name="user" /></label>
			<label>msg: <input type="text" id="msg" name="msg" /></label>
			<input type="submit" value="send"  />
			<input type="button" value="exit" onclick="userLeave()" />
		</form>
	</body>
</html>